package com.cskaoyan.mapper;

import com.cskaoyan.model.MarketGoods;
import com.cskaoyan.model.MarketGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Description
* @Author zoe ling
* @Date 2024/6/7
*/
public interface MarketGoodsMapper {
    long countByExample(MarketGoodsExample example);

    int deleteByExample(MarketGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketGoods record);

    int insertSelective(MarketGoods record);

    List<MarketGoods> selectByExample(MarketGoodsExample example);

    MarketGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketGoods record, @Param("example") MarketGoodsExample example);

    int updateByExample(@Param("record") MarketGoods record, @Param("example") MarketGoodsExample example);

    int updateByPrimaryKeySelective(MarketGoods record);

    int updateByPrimaryKey(MarketGoods record);
}